<?php
/**
 * This file is part of Notadd.
 *
 * @author        Hollydan <2642956839@qq.com>
 * @copyright (c) 2017, notadd.com
 * @datetime      17-11-22 下午4:50
 */

namespace Notadd\FullReduction\Models;


use Illuminate\Database\Eloquent\Model;
use Notadd\Mall\Models\Store;

class Active extends Model
{
    protected $table = 'ext_full_reduction_actives';
    protected $fillable = [
        'name',
        'store_id',
        'time_start',
        'time_end',
        'rules',
    ];

    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function store()
    {
        return $this->belongsTo(Store::class);
    }

}